home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 24 / 024.d81 / t.draw tab.128 < prev    next >
Text File  |  2022-08-26  |  4KB  |  275 lines

  1.  
  2.  
  3.     COMMODORE 128 DRAWING TABLET
  4.                 by
  5.          John J. Kottler
  6.  
  7.  
  8. COMMODORE MICROCOMPUTERS MAGAZINE
  9. May/June, 1986
  10. p.92
  11.  
  12.  
  13. **************************************
  14. NOTE:  This program is written for
  15. the Commodore 128.  Because of this,
  16. it cannot be run directly from
  17. LOADSTAR.  To run this program, simply
  18. turn your 128 off, then back on again.
  19. This should put you in 128 mode.
  20. After this, all you need to do is
  21. type DLOAD"DRAW TABLET.128".
  22. When the READY prompt appears, type
  23. RUN and press RETURN.
  24. **************************************
  25.  
  26.  
  27.   One of the most powerful features
  28.  
  29. of the C-128 is its graphics
  30.  
  31. capabilities; 128 DRAWING TABLET lets
  32.  
  33. you harness these capabilities with
  34.  
  35. joystick and keyboard entries.
  36.  
  37.  
  38.   To use this program, you must first
  39.  
  40. have your joystick plugged into Port
  41.  
  42. 2.  Once you run the program, you
  43.  
  44. will first see a cross-hair appearing
  45.  
  46. in the center of the screen.  The
  47.  
  48. program also displays instructions for
  49.  
  50. each drawing and painting mode at the
  51.  
  52. bottom of the screen.  If you need
  53.  
  54. help at any time while running this
  55.  
  56. program, pressing the HELP key will
  57.  
  58. display the list of commands used.
  59.  
  60.  
  61.   The first mode that you will be in
  62.  
  63. is the DRAWING MODE.  In the
  64.  
  65. instruction window for this mode are
  66.  
  67. the various key presses you must make
  68.  
  69. to alter colors, brush sizes, and
  70.  
  71. brush speeds.
  72.  
  73.  
  74.   In the DRAWING MODE, pressing 0
  75.  
  76. through 3 on the keyboard selects the
  77.  
  78. drawing color, SHIFT 1 through SHIFT 5
  79.  
  80. selects brush size, and COMMODORE 1
  81.  
  82. through 5 changes the brush speed.
  83.  
  84. The selection for the brush speed and
  85.  
  86. size is displayed by the two numbers
  87.  
  88. appearing at the right side of the
  89.  
  90. screen.
  91.  
  92.  
  93.   If you want to accelerate movement
  94.  
  95. of the cursor while drawing, you may
  96.  
  97. choose the BURST MODE by pressing the
  98.  
  99. SPACE BAR to speed up the process.
  100.  
  101. This option will also work with the
  102.  
  103. paint, circle, box, and line modes.
  104.  
  105. Pressing the SPACE BAR will return
  106.  
  107. the cursor to normal speed.
  108.  
  109.  
  110.   To select the colors you wish to
  111.  
  112. use for the picture itself, the
  113.  
  114. background, and the border, press the
  115.  
  116. CLR/HOME key.  You must press keys 1
  117.  
  118. through 3 to select a color for Color
  119.  
  120. One, Color Two, and Color Three.  Keys
  121.  
  122. 4 and 5 allow you to change the
  123.  
  124. background and border colors.
  125.  
  126.  
  127.   Once you have chosen the color you
  128.  
  129. wish to change, a color bar will
  130.  
  131. appear in the current color.  By
  132.  
  133. using the up and down arrow keys, you
  134.  
  135. may step forward and backward through
  136.  
  137. the different colors possible.  When
  138.  
  139. you find the shade you like, press
  140.  
  141. either RETURN or the left arrow key to
  142.  
  143. update the color.
  144.  
  145.  
  146.   This option allows you to use more
  147.  
  148. than three colors in your drawings
  149.  
  150. because it updates only the current
  151.  
  152. drawing colors, not the colors already
  153.  
  154. on the screen.  If you want to clear
  155.  
  156. the screen, press the SHIFT CLR/HOME
  157.  
  158. combination.
  159.  
  160.  
  161. GRAPHICS COMMANDS
  162.  
  163.  
  164.   DRAWING TABLET retains all of the
  165.  
  166. Commodore 128 box, circle, line,
  167.  
  168. paint, and text commands.  Pressing
  169.  
  170. the first letter of the command mode
  171.  
  172. you wish to use ("B" for BOX MODE,
  173.  
  174. for example) selects that mode.  With
  175.  
  176. each mode, you will see brief
  177.  
  178. instructions outlining the type of
  179.  
  180. input needed and then prompts to set
  181.  
  182. the parameters of your graphic.
  183.  
  184.  
  185.   Remember to press RETURN to enter
  186.  
  187. your responses.  You may use the
  188.  
  189. ESCAPE key to abort.
  190.  
  191.  
  192. DISK COMMANDS
  193.  
  194.  
  195.   To save your work, press the SHIFT-S
  196.  
  197. combination.  You will be prompted to
  198.  
  199. enter a filename for your picture.
  200.  
  201. If you wish to retrieve a picture,
  202.  
  203. press the SHIFT-L combination and
  204.  
  205. enter the appropriate filename.  To
  206.  
  207. read the disk directory, press
  208.  
  209. SHIFT-D.
  210.  
  211.  
  212.   If your disk has many pictures on
  213.  
  214. it, you may need to use one of the
  215.  
  216. four disk commands from a small menu
  217.  
  218. that can be accessed with the SHIFT-W
  219.  
  220. combination.  These commands will
  221.  
  222. format a new disk, erase or rename a
  223.  
  224. file, or "clean-up" your disk.
  225.  
  226.  
  227.   If you are formatting a disk, enter
  228.  
  229. the "header name and disk id" and
  230.  
  231. press RETURN. To rename a file, enter
  232.  
  233. "new filename = old filename" and
  234.  
  235. press RETURN.
  236.  
  237.  
  238. USING YOUR GRAPHICS IN YOUR PROGRAMS
  239.  
  240.  
  241.   You can load the graphics that you
  242.  
  243. create into your BASIC programs with
  244.  
  245. the following commands:
  246.  
  247.  
  248. BLOAD "SC/FILENAME",BO,P 7168.  This
  249.  
  250. command loads the high-resolution
  251.  
  252. screen and Color 1 and Color 2 data.
  253.  
  254.  
  255. POKE 1,116 :BLOAD "CL/FILENAME",B15,P
  256.  
  257. 55296:POKE 1,115: This loads Color 3
  258.  
  259. data.
  260.  
  261.  
  262. BLOAD "BC/FILENAME",B15,P 53280:  This
  263.  
  264. loads the background and border
  265.  
  266. colors.
  267.  
  268.  
  269. FILES REQUIRED:
  270.  
  271. DRAW TABLET.128
  272.  
  273. ------------<end of text>-------------
  274.  
  275.